package com.example.entity;

import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class User {
    private Integer id;

    private String username;

    private String password;

    private Date bir;

    public User(String username, String password, Date bir) {
        this.username = username;
        this.password = password;
        this.bir = bir;
    }
}
